package com.lzy.system.organization.dto.convert;

import com.lzy.system.organization.dto.SysRoleNavAddDTO;
import com.lzy.system.organization.entity.SysRoleNav;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * description: 角色对应导航转换 <br>
 * date: 2023年12月06日 <br>
 * author: lcc <br>
 * version: 1.0 <br>
 */
@Mapper(componentModel = "spring")
public interface SysRoleNavConvert {
    SysRoleNav addDTOToEntity(SysRoleNavAddDTO sysRoleNavAddDTO);
    List<SysRoleNav> addDTOToListEntity(List<SysRoleNavAddDTO> sysRoleNavAddDTOS);
}
